<div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        {% for dashboard in dashboards %}
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">{{ dashboard.display_name }}</a>
          <dl class="layui-nav-child">
            {% for panel in dashboard.panels %}
            <dd><a href="{{ dashboard.prifex }}{{ panel.url }}">{{ panel.display_name }}</a></dd>
            {% endfor %}
          </dl>
        </li>
        {% endfor %}
      </ul>
    </div>
  </div>